package cn.cloudreal.cbms.medium.service;

import java.util.List;

import cn.cloudreal.cbms.common.util.PageBean;
import cn.cloudreal.cbms.vo.Dictionary;
import cn.cloudreal.cbms.vo.Medium;
import cn.cloudreal.cbms.vo.ProjectMedium;

public interface MediumService
{

    public List<Medium> findMediumList(PageBean page, Medium medium);
    
    public void delMedium(int id);
    
    public int addMedium(Medium medium);
    
    public Medium findMediumById(int id);
    
    public int udpateMedium(Medium medium);
    
    //根据媒体编号查询媒介
    public List<Medium> findMediumByMediaID(int mediaID);
    
    
    public List findAllMedium(PageBean page, Medium medium,String key,String keySql);
    
    /**
     * 根据媒介编号查询媒介
     */
    public List<Medium> findMediumByMediumID(String mediumID);
    
    
    /**
     * 根据媒介名称查询媒介
     */
    public List<Medium> findMediumByMediumName(String mediumName);
    
    public List<ProjectMedium> findProjectmediumByMediumId(int mediumId);
}
